import Vue from "vue";
import leftNav from "./index.vue";

leftNav.init = function(options) {
  var initLeftNav = Vue.extend(leftNav);
  var component = new initLeftNav({
    data: options
  }).$mount();
  document.querySelector(".ml-echarts").appendChild(component.$el);
};

export default leftNav;